package top.jle.wx.proxy.feign.templateMsg;

import com.alibaba.fastjson2.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(url = "https://api.weixin.qq.com",name = "inventory")
public interface IndustryAPIFeign {

    @PostMapping("/cgi-bin/template/api_set_industry")
    JSONObject setIndustry(@RequestBody JSONObject option);

    @GetMapping("/cgi-bin/template/get_industry")
    JSONObject getIndustry();


}
